package com.wfk.plat.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 认证资源的annotation
 * @author tianpeng
 *
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AuthResource {

	/**
	 * 拦截资源url 不填默认是requst.getRemoteURI() ;
	 * @return
	 */
	String url() default "";
}
